﻿namespace Quail
{
    /// <summary>
    /// Class for all classes that belong to EmployerScenario
    /// </summary>
    public class TestShellSubClass<TShell>
        where TShell : ITestShell
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="TestShellSubClass&lt;TShell&gt;"/> class.
        /// </summary>
        /// <param name="shell">The shell.</param>
        public TestShellSubClass(TShell shell)
        {
            Shell = shell;
        }

        /// <summary>
        /// Gets the current Test Shell
        /// </summary>
        public TShell Shell
        {
            get;
            protected set;
        }

        /// <summary>
        /// Gets the current active task
        /// </summary>
        public Task ActiveTask
        {
            get
            {
                return Shell.ActiveTask;
            }
        }
    }
}
